export default {
    // 配合比信息
    formData: {
        fId: "",
        fProjectname: "", // 所属项目名称
        fCompanyname: "", // 所属标段名称
        fCheckunit: "", // 第三方检查单位
        fCheckunitid: "", // 第三方检查单位id
        fCheckdates: '', // 检查时间
        fCheckopinion: "", // 检查情况概述
        fChangeresult: "", // 是否要求整改
        fCheckfile: '', // 本次检查相关资料
        fQualitygridclass: "", // 涉及工程质量网格
        fQualitygridclassid: "", // 涉及工程质量网格id
        fWorkstatus: "", // 工作是否结束
        fMaintainername: "", // 维护人
        fMaintainerid: "", // 维护id
        fMaintaindates: "", // 维护时间
        fStatus: "",
        fNote: "",
        fIsdeleted: "",
    },



    FromShowText: [
        {
            input: true, //是input
            label: "外部检查单位", //字段
            prop: "fCheckunit", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请填写外部检查单位'
            }] //验证

        }, {
            datePicker: true, //是input
            label: "检查时间", //字段
            prop: "fCheckdates", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择检查时间'
            }] //验证
        },
        // {
        //     input: true, //是input
        //     // textarea: true, //是输入框
        //     label: "检查情况概述", //字段
        //     prop: "fCheckopinion", //字段名
        //     width: 24, //参考el-col
        //     disabled: false, //是否禁用
        //     rules: [{
        //         required: true,
        //         message: '请填写检查情况概述'
        //     }] //验证
        // },
        {
            selects: true, //是input
            label: "是否要求整改", //字段
            prop: "fChangeresult", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            options: [{
                value: "没有整改要求",
                label: "没有整改要求",
            }, {
                value: "有整改要求",
                label: "有整改要求",
            },],
            rules: [{
                required: true,
                message: '请选择是否要求整改'
            }] //验证
        },
        {
            label: "本次检查相关资料", //字段
            prop: "fCheckfile", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            upload: true,
            uploadSelect: true,
            uploadObj: {
                fileType: "2001",
                limit: 8, //上传长度限制
                hideUpload: false, //是否隐藏上传框
            },
            rules: [{
                required: true,
                message: '请上传本次检查相关资料'
            }] //验证
        },
        {
            input: true, //是input
            label: "涉及工程质量网格", //字段
            prop: "fQualitygridclass", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请填写涉及工程质量网格'
            }] //验证
        },
        {
            selects: true, //是input
            label: "工作是否结束", //字段
            prop: "fWorkstatus", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            options: [{
                value: "已结束",
                label: "已结束",
            }, {
                value: "未结束",
                label: "未结束",
            },],
            rules: [{
                required: true,
                message: '请选择工作是否结束'
            }] //验证
        },
        {
            input: true, //是input
            label: "维护人", //字段
            prop: "fMaintainername", //字段名
            width: 12, //参考el-col
            disabled: true, //是否禁用
            rules: [{
                required: true,
                message: '请填写维护人'
            }] //验证
        }, {
            datePicker: true, //是input
            label: "维护时间", //字段
            prop: "fMaintaindates", //字段名
            width: 12, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请选择维护时间'
            }] //验证
        },
        {
            // input: true, //是input
            textarea: true, //是输入框
            label: "检查情况概述", //字段
            prop: "fCheckopinion", //字段名
            width: 24, //参考el-col
            disabled: false, //是否禁用
            rules: [{
                required: true,
                message: '请填写检查情况概述'
            }] //验证

        },

    ],

    FromShowLook: [{
        input: true, //是input
        label: "外部检查单位", //字段
        prop: "fCheckunit", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用
    },
    {
        input: true, //是input
        label: "检查时间", //字段
        prop: "fCheckdates", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用
    },
    {
        input: true, //是input
        label: "是否要求整改", //字段
        prop: "fChangeresult", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用

    },
    {
        label: "本次检查相关资料", //字段
        prop: "fCheckfile", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用
        upload: true,
        uploadSelect: false,
        uploadObj: {
            fileType: "2001",
            limit: 8, //上传长度限制
            hideUpload: false, //是否隐藏上传框
        },
    },
    {
        input: true, //是input
        label: "涉及工程质量网格", //字段
        prop: "fQualitygridclass", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用

    }, {
        input: true, //是input
        label: "工作是否结束", //字段
        prop: "fWorkstatus", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用

    }, {
        input: true, //是input
        label: "维护人", //字段
        prop: "fMaintainername", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用

    }, {
        input: true, //是input
        label: "维护时间", //字段
        prop: "fMaintaindates", //字段名
        width: 12, //参考el-col
        disabled: true, //是否禁用

    }, {
        textarea: true, //是输入框
        label: "检查情况概述", //字段
        prop: "fCheckopinion", //字段名
        width: 24, //参考el-col
        disabled: true, //是否禁用

    },
    ],


    // 主页列表---查看页面
    table_config: {
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        thead: [
            {
                label: '项目简称',
                prop: 'fProjectname',
                minWidth: '180px',
                align: "left",
            },
            {
                label: '标段简称',
                prop: 'fCompanyname',
                minWidth: '150px',
                align: "left"
            },
            {
                label: '检查时间',
                prop: 'fCheckdates',
                minWidth: '100px',
                align: "center",
                Jump: true,
            },
            {
                label: '第三方检查单位',
                prop: 'fCheckunit',
                minWidth: '90px',
                align: "left",

            },
            {
                label: '检查情况概述',
                prop: 'fCheckopinion',
                minWidth: '200px',
                align: "left"
            },
            {
                label: '涉及到工程质量网格',
                prop: 'fQualitygridclass',
                minWidth: '100px',
                align: "left"
            },
            {
                label: '是否要求整改',
                prop: 'fChangeresult',
                minWidth: '100px',
                align: "center"
            },
            {
                label: '工作是否结束',
                prop: 'fWorkstatus',
                minWidth: '70px',
                align: "center"
            },
            {
                label: '维护人',
                prop: 'fMaintainername',
                minWidth: '60px',
                align: "center",
            },
            {
                label: '维护日期',
                prop: 'fMaintaindates',
                minWidth: '100px',
                align: "center"
            },

        ],
        isCheckBox: false,
        isIndex: true,
        isOperation: true,
        // 表格操作列
        // operation: {
        //     label: '生产状态',
        //     width: '100',
        //     detail: true,
        //     prop: true,
        //     cols: [],
        // },
    },

    // 主页列表---编辑页面
    table_configText: {
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        thead: [
            {
                label: '项目简称',
                prop: 'fProjectname',
                minWidth: '180px',
                align: "left",
            },
            {
                label: '标段简称',
                prop: 'fCompanyname',
                minWidth: '150px',
                align: "left"
            },
            {
                label: '检查时间',
                prop: 'fCheckdates',
                minWidth: '100px',
                align: "center",
                Jump: true,
            },
            {
                label: '第三方检查单位',
                prop: 'fCheckunit',
                minWidth: '90px',
                align: "left",
            },
            {
                label: '检查情况概述',
                prop: 'fCheckopinion',
                minWidth: '200px',
                align: "left"
            },
            {
                label: '涉及到工程质量网格',
                prop: 'fQualitygridclass',
                minWidth: '100px',
                align: "left"
            },
            {
                label: '是否要求整改',
                prop: 'fChangeresult',
                minWidth: '100px',
                align: "center"
            },
            {
                label: '工作是否结束',
                prop: 'fWorkstatus',
                minWidth: '70px',
                align: "center"
            },
            {
                label: '维护人',
                prop: 'fMaintainername',
                minWidth: '60px',
                align: "center",
            },
            {
                label: '维护日期',
                prop: 'fMaintaindates',
                minWidth: '100px',
                align: "center"
            },

        ],
        isCheckBox: false,
        isIndex: true,
        isOperation: true,
        // 表格操作列
        operation: {
            label: '信息状态',
            width: '100',
            detail: true,
            prop: true,
            cols: [],
        },
    },
    // 网格弹框列表
    table_configGrid: {
        imgKeyWord: "url",
        fileKeyWord: "url",
        fileName: "fFileName",
        dialogHeight: '',
        thead: [
            {
                label: '项目简称',
                prop: 'fProjectname',
                minWidth: '180px',
                align: "left",
            },
            {
                label: '标段简称',
                prop: 'fCompanyname',
                minWidth: '150px',
                align: "left"
            },
            {
                label: '质量网格类别',
                prop: 'fQualitygridclass',
                minWidth: '120px',
                align: "left",

            },
            {
                label: '工程网格类别',
                prop: 'fQualitygridclasstype',
                minWidth: '120px',
                align: "left",
                // Jump: true,

            },
            {
                label: '工程部位',
                prop: 'fProjectposition',
                minWidth: '70px',
                align: "left"
            },

            {
                label: '项目部施工负责人',
                prop: 'fSgusername',
                minWidth: '120px',
                align: "center",
            },
            {
                label: '项目部现场质检员',
                prop: 'fCheckusername',
                minWidth: '120px',
                align: "center"
            },
            {
                label: '驻地监理',
                prop: 'fScenesupervisor',
                minWidth: '60px',
                align: "center"
            },
            {
                label: '现场监理员',
                prop: 'fStationsupervisor',
                minWidth: '60px',
                align: "center"
            },
            {
                label: '试验员',
                prop: 'fTestusername',
                minWidth: '60px',
                align: "center",
                warnNum: "flag1",
            },
            {
                label: '试验监理',
                prop: 'fTestsupervisor',
                minWidth: '80px',
                align: "center"
            },
            {
                label: '是否开工',
                prop: 'fIswork',
                minWidth: '80px',
                align: "center"
            },
            {
                label: '巡查问题数',
                prop: 'fQuestionnum',
                minWidth: '70px',
                align: "center"
            },
            {
                label: '下发指令',
                prop: 'fInstructnum',
                minWidth: '60px',
                align: "center"
            },
        ],
        isCheckBox: true,
        isIndex: true,
        isOperation: true,
        // 表格操作列
        // operation: {
        //     label: '生产状态',
        //     width: '100',
        //     detail: true,
        //     prop: true,
        //     cols: [],
        // },
    },

}